package wangxiaotao.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum RoomStatue {
    OFF(0,"下架"),
    WAITREPAIR(1,"待维修"),
    LOCK(2,"已锁定"),
    ALREADYIN(3,"已入住"),
    WAITCLEAN(4,"待打扫"),
    FREE(5,"空闲");

    @EnumValue
    @JsonValue
    private final Integer statue;

    private final String name;

    RoomStatue(Integer statue, String name) {
        this.statue = statue;
        this.name = name;
    }
}
